#pragma once

class CEX FileSource:public Object
{

public:

	virtual const char* __getName(){return "FileSource";}

	FileSource();
	~FileSource();

	virtual void onMount(const String& mountPoint){}
	virtual void onUnmount(const String& mountPoint){}

	virtual File* openFile(const String& filename,bool write,bool create) = 0;
};
